#ifndef _LINKTEST_H_
#define _LINKTEST_H_

#include <cppunit/Test.h>
#include <cppunit/TestAssert.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestFixture.h>
#include <cppunit/TestSuite.h>
#include <cppunit/Exception.h>
#include <cppunit/extensions/HelperMacros.h>

#include <cstdlib>
#include "link.h"

class LinkTest : public CppUnit::TestFixture {

	CPPUNIT_TEST_SUITE( LinkTest );
	CPPUNIT_TEST(testConstructor);	      
	CPPUNIT_TEST(testGetLatBwBwLimFixed);
	CPPUNIT_TEST(testGetLatBwBwLimTrace);	
	CPPUNIT_TEST(testGetType);
	CPPUNIT_TEST_SUITE_END();
	
	
	
	private:
	public:
		void setUp(); 
		
		/*Test Cases*/
		void testConstructor();
		void testGetLatBwBwLimFixed();
		void testGetLatBwBwLimTrace();
		void testGetType();		
		/////////////
		
		void tearDown();
	
};

#endif //_LINKTEST_H_
